{extend name="admin@index_layout"/}
{block name="main"}
<form class="layui-form" method="post">

    <input type="hidden" name="id" value="{$id}" />
    <div class="layui-form-item">
        <label class="layui-form-label">会员id</label>
        <div class="layui-input-block">
            <input type="number" name="member_id"  lay-verify="required" autocomplete="off" placeholder="会员id"
                   class="layui-input">
        </div>
    </div>


    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit>激活会员卡</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm', 'laydate'], function () {
        var yznForm = layui.yznForm,
            laydate = layui.laydate;

        yznForm.bindevent($("form.layui-form"));

        laydate.render({
            elem: '#ID-laydate'
        });

    });
</script>
{/block}